/*
 * @Author: xiaolong.luo@flowportal xiaolong.luo8888
 * @Date: 2024-04-30 10:53:48
 * @LastEditors: xiaolong.luo@flowportal xiaolong.luo8888
 * @LastEditTime: 2024-05-15 15:09:40
 * @FilePath: \v2-project\src\utils\storage.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const bpm_key = "bpm_token"
const portal_key = "portal_token"
export const setBPMToken = (token) => localStorage.setItem(bpm_key,token)

export const getBPMToken = () => localStorage.getItem(bpm_key)

export const deleteBPMToken = () => localStorage.removeItem(bpm_key)



// export const setPortalToken = (token) => localStorage.setItem(portal_key, token)

// export const getPortalToken = () => localStorage.getItem(portal_key)

// export const deletePortalToken = () => localStorage.removeItem(portal_key)